package com.lottery.material.vo.portaluser;

import com.lottery.material.plugin.Phone;
import com.lottery.material.vo.BaseBody;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class PortalUserVo extends BaseBody implements Serializable {
    @NotEmpty(message = "手机号不能为空")
    @Phone
    String phoneNumber;
    @NotEmpty(message = "密码不能为空")
    String password;
}
